

package com.hexinfo.dmpro.script.publish.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hexinfo.dmpro.script.publish.entity.ScriptPublishTaskEntity;
import org.apache.ibatis.annotations.Mapper;

/**
 * 脚本发布任务
 *
 * @author Wang zhihao
 * @date 2023-09-13 18:16:07
 */
@Mapper
public interface ScriptPublishTaskMapper extends BaseMapper<ScriptPublishTaskEntity> {

    /**
     * @Method modifyPublishSuccessNum
     * @Param
     * @param taskId
     * @Return void
     * @Description 更新发布成功数量
     * @Author Wang zhihao
     * @Date 2023/12/1 18:14
     * @Version V1.0
     */
    void modifyPublishSuccessNum(String taskId);

    /**
     * @Method modifyPublishFailNum
     * @Param
     * @param taskId
     * @Return void
     * @Description 更新发布失败数量
     * @Author Wang zhihao
     * @Date 2023/12/1 18:14
     * @Version V1.0
     */
    void modifyPublishFailNum(String taskId);

    /**
     * @Method modifyPublishStatus
     * @Param
     * @param taskId
     * @Return void
     * @Description 更新发布状态
     * @Author Wang zhihao
     * @Date 2023/12/1 18:14
     * @Version V1.0
     */
    void modifyPublishStatus(String taskId);

    /**
     * @Method modifyRestoreSuccessNum
     * @Param
     * @param taskId
     * @Return void
     * @Description 更新还原成功数量
     * @Author Wang zhihao
     * @Date 2023/12/1 18:14
     * @Version V1.0
     */
    void modifyRestoreSuccessNum(String taskId);

    /**
     * @Method modifyRestoreFailNum
     * @Param
     * @param taskId
     * @Return void
     * @Description 更新还原失败数量
     * @Author Wang zhihao
     * @Date 2023/12/1 18:15
     * @Version V1.0
     */
    void modifyRestoreFailNum(String taskId);

    /**
     * @Method modifyRestoreStatus
     * @Param
     * @param taskId
     * @Return void
     * @Description 更新还原状态
     * @Author Wang zhihao
     * @Date 2023/12/1 18:15
     * @Version V1.0
     */
    void modifyRestoreStatus(String taskId);
}
